﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="user_list.aspx.cs" Inherits="AnyOffice.general.system.res_manage.user_list" %>

<%@ Register TagPrefix="uc1" TagName="DepartmentAndUsersControl" Src="../../../Control/DepartmentAndUsersControl.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
	<head>
		<title>用户列表</title>
	</head>
	<body class="bodycolor" style="padding-top:0; padding-right:0;" topmargin="5">
		<form id="Form1" method="post" runat="server">
        <div class="main_div">
			<uc1:DepartmentAndUsersControl id="DepartmentAndUsersControl1" runat="server" NavigateUrl="user_res.aspx" Target="user_res"></uc1:DepartmentAndUsersControl>
			<table border="0" cellspacing="0" width="100%" class="tab_pub" cellpadding="0"
				align="center">
				<tr class="TableHeader" onClick="clickMenu('-1')" style="CURSOR: hand" title="点击伸缩列表">
					<td nowrap align="center"><b>外部人员</b></td>
				</tr>
			</table>
			<asp:Repeater id="rptDimission" runat="server">
			<HeaderTemplate>
			<table border="0" cellspacing="0" width="100%" class="tab_pub" cellpadding="0"
				id="-1" style="DISPLAY:none">
			</HeaderTemplate>
			<ItemTemplate>
				<tr class="TableData" align="center">
					<td nowrap width="80"><%#Eval("PrivName")%></td>
					<td nowrap><a href="user_res.aspx?user_id=<%#Eval("UserId")%>&user_name=<%#Eval("UserName")%>" target="user_res"><%#Eval("UserName")%></a></td>
				</tr>
			</ItemTemplate>
			<FooterTemplate>
			</table>
			</FooterTemplate>
			</asp:Repeater>
            </div>
			<script language="JavaScript">
function clickMenu(ID)
{
    targetelement=document.getElementById(ID);
    if(targetelement == null)
		return;
    if (targetelement.style.display=="none")
        targetelement.style.display='';
    else
        targetelement.style.display="none";
}
			</script>
			
		</form>
	</body>
</HTML>
